package tp.pr5.mv.instructions.arithmetic;

import tp.pr5.mv.Opcode;
import tp.pr5.mv.instructions.BinaryInstructions;
import tp.pr5.mv.traps.MVTrap;

public class ADD extends BinaryInstructions {

	public ADD() {
		
		op = Opcode.ADD;
	}
	
    public int combine ( int op1, int op2 ) throws MVTrap {
		
		return op2 + op1;       // Suma de operandos.
	}
	
}
